package com.patterns.demo.mediator.user;

import com.patterns.demo.mediator.mediator.Mediator;

/**
 * Author: SamGroves
 * <p>
 * Description:
 * <p>
 * Date: 2017/12/21
 */
public class User2 extends User {

    public User2(Mediator mediator) {
        super(mediator);
    }

    @Override
    public void work() {
        System.out.println("this is user2");
    }
}
